package com.atguigu.day19.threadmethod.c2;

public class CatRunnable implements Runnable{
    @Override
    public void run() {
        for (int i = 1; i <= 20; i++) {
            System.out.println();
        }
    }
    /*@Override
    public void run() {
        for (int i = 1; i <=20 ; i++) {

            System.out.println(Thread.currentThread().getName()+"走了第["+i+"]次");

        }
    }*/
}
